package com.xm.xmapp.adapter;

import java.util.ArrayList;

import android.app.Activity;

import com.xm.xmapp.R;
import com.xm.xmapp.base.MyBaseAdapter;
import com.xm.xmapp.base.ViewHolder;
import com.xm.xmapp.customview.CustomLayout;
import com.xm.xmapp.response.bean.CustomItemTextBean;

public class ListUserTimeAdapter extends MyBaseAdapter<CustomItemTextBean> {



	public ListUserTimeAdapter(ArrayList<CustomItemTextBean> list,
			Activity context, int layoutId) {
		super(list, context, layoutId);
		
	}

	@Override
	public void setValues(ViewHolder holder, final CustomItemTextBean t,
			int position) {
		
		CustomLayout name = (CustomLayout) holder.getView(R.id.name);
		name.setText1(t.getText());
		name.setImg1Gone();
	
	}

}
